package com.bdqn.carrental.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "users")
public class UserEntity extends  BaseEntity{

    public  UserEntity(){ }
    @Id//主键列标识
    @Column(name ="username" )
    private String username;
    @Column(name ="identity" )
    private String identity;
    @Column(name ="fullname" )
    private String fullname;
    @Column(name ="sex" )
    private String sex;
    @Column(name ="address" )
    private String address;
    @Column(name ="phone" )
    private String phone;
    @Column(name ="position" )
    private String position;
    @Column(name ="userlevel" )
    private Integer userlevel;
    @Column(name ="userpwd" )
    private String userpwd;
    @Column(name ="USERQQ" )
    private String userQQ;
    @Column(name ="USERDLDATE" )
    private Date USERDLDATE;

    public Date getUSERDLDATE() {
        return USERDLDATE;
    }

    public void setUSERDLDATE(Date USERDLDATE) {
        this.USERDLDATE = USERDLDATE;
    }



    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getUserlevel() {
        return userlevel;
    }

    public void setUserlevel(Integer userlevel) {
        this.userlevel = userlevel;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getUserQQ() {
        return userQQ;
    }

    public void setUserQQ(String userQQ) {
        this.userQQ = userQQ;
    }


}
